import viLine from "./line/index"
import viBar from "./bar/index"
import viDoubleBar from "./double-bar"
import viProgress from "./progress/index"
import viPlate from "./plate/index"
import viMap from "./map/index"
import viBalance from "./balance/index"
import viDetailed from "./detailed/index"
import viDialog from "./dialog/index"
import viInvoiceCollection from "./popup/invoice-collection/index"
import viPopupProfit from "./popup/profit/index"
import viPopupProgress from "./popup/progress/index"
import viPopupBalance from "./popup/balance"
import viPopupDetail from "./popup/detail"
import viPopupDoubleBar from "./popup/double-bar"

const components=[
    viLine,
    viBar,
    viDoubleBar,
    viProgress,
    viPlate,
    viMap,
    viBalance,
    viDetailed,
    viDialog,
    viInvoiceCollection,
    viPopupProfit,
    viPopupProgress,
    viPopupBalance,
    viPopupDetail,
    viPopupDoubleBar,
]


const install=Vue=>{
    components.forEach(item=>{
        Vue.use(item)
    })
}


export {
    viLine,
    viBar,
    viDoubleBar, 
    viProgress,
    viPlate,
    viMap,
    viBalance,
    viDetailed,
    viDialog,
    viInvoiceCollection,
    viPopupProfit,
    viPopupProgress,
    viPopupBalance,
    viPopupDetail,
    viPopupDoubleBar,
}

export default {
    install,
}